from django.conf.urls import url

from apps.index import views

urlpatterns = [
    # url(r'^admin/', admin.site.urls),
    url(r'^(?P<page_num>\d*)$', views.IndexView.as_view(), name='index'),
    url(r'^myIndex/(?P<page_num>\d*)/(?P<category_id>\d+)/$', views.MyIndexView.as_view(), name='my_index'),
    url(r'^headImage/', views.HeadImage.as_view(), name='head_image'),
]
